package main

import (
	"github.com/matoous/go-nanoid/v2"
)

func main() {
	id, err := gonanoid.New()
	if err == nil {
		println(id)
	}

	id, err = gonanoid.Generate("abcde", 54)
	if err == nil {
		println(id)
	}
}
